package com.mama100.rpc.mdp.constant;

public enum ResponseCode
{

	SUCCESS					("100", "成功"), 
	ENTITY_NOTFOUND			("102", "没有找到指定对象"), 
	SERVER_ERROR			("201", "服务器出错"), 
	INVALID_DATE			("202", "无效的日期"), 
	INVALID_REQUEST			("203", "无效的请求"),
	TRANSACTION_ORDER_IS_NULL("444","亲，出错了。");

	private String respCode = ""; 
	private String respDesc = "";

	ResponseCode(String code, String desc)
	{
		this.respCode = code;
		this.respDesc = desc;
	}
	
	public String getCode()
	{
		return this.respCode;
	}
	public String getDesc()
	{
		return this.respDesc;
	}
}
